home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / stepp000.swf / scripts / DefineSprite_783 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-11-12  |  7.7 KB  |  101 lines

  1. Fleche = 1;
  2. set("/:Idle",false);
  3. BaseScaleGts = 16.8;
  4. InventaireOuvert = false;
  5. LargeurObjet = 60;
  6. InvNb = 0;
  7. InvNbMax = 10;
  8. InvObjetSelect = 0;
  9. Instructions = "RULES\r\nIn Steppenwolf: The X-Creatures Project, you guide Meg Crimson and the Steppenwolf himself through a series of action- and logic-based interactive puzzles.  \r\nThere are two major components to this application: the Main Game screen, where all the action takes place, and the Inventory page, where the player can stop to think, access stored information and manipulate a variety of items.\r\n\r\n1. The Main Game Screen\r\nCareful manipulation of the character and of the interactive environment is the key to success in this game.  The following keyboard commands are available:\r\nUp, Down, Left and Right Arrows: walk in the appropriate direction\r\nUp/Right, Up/Left, Down/Left, Down/Right Arrow combinations: walk along diagonals\r\nHold SHIFT while pressing on a directional arrow combination: run in the appropriate direction\r\nCTRL: jump in the current direction of movement (not available in episode 1)\r\nSPACE: Context-sensitive \"Action Key\", which depends on the interactive element closest to the character\'s current position.  Examples include opening a door, picking up a statue and storing it in the character\'s inventory, untying a knot to free a hostage, etc.\r\n\r\nThe game\'s on-screen interface items are very simple:\r\nThe Life Gauge located in the top-left corner measures the hero\'s current health level.  Don\'t let it fall to zero, or the game is over.  \r\nThe special icon located in the top-right corner gives you access to the Inventory screen.  It will look like an electronic bracelet when Steppenwolf is the active character, and like a palmtop computer when Meg is in charge.\r\n\r\nFinally, three short-cut keys give quick access to the inventory: \r\nI: Open the inventory\r\nRight/Left arrows: to scroll the item list while the inventory is opened\r\nO: Close the inventory\r\nT: Store the active object and replace it with its successor.\r\n\r\n2.The Inventory Screen\r\nThis page contains four buttons, a slider which allows you to set the sound volume, and a display window whose contents depend on the state of the MAIL and ITEMS buttons.\r\na) MAIL and ITEMS buttons: Click on these buttons to toggle between MAIL and ITEMS mode.  \r\nWhen MAIL is active, the display window shows a list of the recent email messages received by the hero.  Click on the (underlined) sender\'s name to read a message; some messages also come with visual attachments, which can be accessed by clicking on the paper clip icon next to the sender\'s name.  \r\nWhen ITEMS is active, a small area at the bottom of the display window is reserved to a scrolling list of the objects picked up by the characters since the beginning of the episode.  Roll over the side edges of this area to scroll the list.  Click on one of the objects to make it active; a detailed description will appear in the larger area of the display window.  \r\nSome inventory items are components which can be assembled into more elaborate objects.  For example, making an antidote potion may require several ingredients.  If you drag a different object to the main display window while it\'s already showing something else, the two will automatically merge into one if appropriate.  (Otherwise, the new item simply replaces the old one as active object.)\r\nb) OK button: returns to the main game screen\r\nc) HELP button: read the game\'s instructions\r\nd) QUIT button: leave the current episode and return to the series\' main menu.\r\ne) IMAGE QUALITY buttons: if the animation is choppy or slow on your computer, select a lower image quality.\r\n\r\nMinimum system requirements:\r\nWindows 95/98/NT/2000\r\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\r\nMinimum 200MHz PowerPC processor, 24 bit display.\r\n";
  10. InvObjet1 = 0;
  11. InvObjet2 = 0;
  12. InvObjet3 = 0;
  13. InvObjet4 = 0;
  14. InvObjet5 = 0;
  15. InvObjet6 = 0;
  16. InvObjet7 = 0;
  17. InvObjet8 = 0;
  18. InvObjet9 = 0;
  19. InvObjet10 = 0;
  20. InvMail = 0;
  21. InvMailMax = 6;
  22. InvMail1 = 1;
  23. InvMail2 = 2;
  24. InvMail3 = 0;
  25. InvMail4 = 0;
  26. InvMail5 = 0;
  27. InvMail6 = 0;
  28. Mail1 = "Meg, \r\nAs your first Secrets of the Wild assignment, you must seek out, find and film a legendary African creature known as the Mokele Mbembe. \r\nReportedly, this creature is as big as an elephant and can knock down trees with a single blow of its long and powerful tail. I say reportedly, because we have no formal proof that it exists: several scientific expeditions have visited the area since 1980, but failed to produce any conclusive evidence. However, given that legends concerning the monster have turned up all over central Africa, and that the local population is utterly terrified of the creature, we do believe that it is there, probably deep in the marshes beyond the source of the Congo river. \r\nA veteran cameraman by the name of Derek Murphy will assist you in this assignment. Don\'t be put off by his personality quirks; he\'s the best I\'ve ever seen at what he does. We expect daily reports, which Derek will send us via satellite and which will be published on the World Geographic web site. We have already signed up over one hundred thousand subscribers; failure is not an option. \r\nAs I mentioned earlier when we talked in my office, you may want to contact a man known as the Steppenwolf. I know little about this guy, especially not whether he\'ll be of any help to you; all that my sources tell me is that he is a paleo-biologist and a self-proclaimed expert in the study of mythical and improbable animals. If that\'s true, he probably knows as much about the Mokele Mbembe as anyone. Apparently, he lives as a recluse, somewhere in the jungle near your destination, and he hasn\'t talked to anyone outside of the local tribe in years, so you\'ll have to be very convincing to squeeze any information out of him. For what it\'s worth, I have attached an old photograph of the man to this message. \r\nTime to get to work, now. A boat is waiting for you in Kisangani harbor. It will take you up the river, to the heart of the jungle. From then on, you\'re on your own. \r\nSincerely, \r\nMcAllister \r\n";
  29. Mail2 = "Hey Meg,\r\nI hope that everything is nice and cozy for you in Africa.  Have you met the Steppenwolf yet?  Is he cooperative?\r\nWe\'re all looking forward to your first report.  When do you think you\'ll be able to send it in?\r\nTalk to you soon,\r\nMcA";
  30. BarrePorteRamasse = false;
  31. MarteauRamasse = false;
  32. FuseeRamasse = false;
  33. MedecineRamasse = false;
  34. CordeRamasse = false;
  35. AnimBriseVu = false;
  36. Pierre1 = false;
  37. Pierre2a = false;
  38. Pierre2b = false;
  39. Pierre3 = true;
  40. Pierre4 = false;
  41. Pierre5 = false;
  42. Pierre6 = false;
  43. Tuile1 = false;
  44. Tuile2 = false;
  45. Tuile3 = false;
  46. Tuile4 = false;
  47. Tuile5 = false;
  48. Tuile6 = false;
  49. TuilePlaces = false;
  50. TuileMauvaise = false;
  51. CoteBaril = "Gauche";
  52. BarilBougePu = false;
  53. CrochetBrise = "";
  54. TimerActif = true;
  55. Porte = 0;
  56. Balle = 0;
  57. GardeAction = false;
  58. GardesSortis = 0;
  59. GardeTir = false;
  60. GardeIdle = true;
  61. GardeDirection = "NE";
  62. FusilLeve = false;
  63. Vie = 100;
  64. ObjetSelect = 0;
  65. Acceleration = 0;
  66. Moulin1Roue1 = 1;
  67. Moulin1Roue2 = 4;
  68. Moulin1Roue3 = 3;
  69. Moulin2Roue1 = 3;
  70. Moulin2Roue2 = 1;
  71. Moulin2Roue3 = 1;
  72. Moulin3Roue1 = 2;
  73. Moulin3Roue2 = 1;
  74. Moulin3Roue3 = 3;
  75. Moulin4Roue1 = 4;
  76. Moulin4Roue2 = 1;
  77. Moulin4Roue3 = 4;
  78. BoudhaOuvert = false;
  79. MegCri = false;
  80. FeuLance = false;
  81. GardesPris = false;
  82. AvanceTir = false;
  83. NbArtifices = 0;
  84. BoulePousse = false;
  85. PontOuvert = false;
  86. CordeLance = false;
  87. PorteExplose = false;
  88. ArtificePorte = false;
  89. PeintureVue = false;
  90. PorteDefonce = false;
  91. GardeEntre = "";
  92. NbFeuTouche = 1;
  93. DerniereTuile = 0;
  94. Vent = random(5) - 2;
  95. if(Vent == 0)
  96. {
  97.    Vent = 1;
  98. }
  99. DecaleVent = 5;
  100. Pause = false;
  101.